package person.zjh.kaoyansharehub.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Material {

  @TableId(type = IdType.AUTO)
  private Long materialId;

  private String title;

  private String description;

  private Long categoryId;

  private Long userId;

  private String filePath;

  private String fileType;

  private Long downloadCount;

  private Long year;

  private String status;

  private LocalDateTime createdAt;

  private LocalDateTime updatedAt;


}
